package cn.ylhx.venue.proposeSite.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.ylhx.venue.background.entity.Background;
import cn.ylhx.venue.common.dao.BaseDao;
import cn.ylhx.venue.proposeSite.entity.ProposeSite;
import cn.ylhx.venue.proposeSite.entity.SiteFloor;
import cn.ylhx.venue.proposeSite.entity.SiteService;
import cn.ylhx.venue.proposeSite.entity.SiteTraffic;
import cn.ylhx.venue.site.entity.Site_Message;

public interface ProposeSiteDao extends BaseDao<ProposeSite> {
	Site_Message findSiteById(Integer id);
	List<Background> findSiteByDate(@Param(value="tableName") String tableName,@Param(value="ProDate") String ProDate);
	List<Map<String,Object>> findSessionById(@Param(value="tableName") String tableName,@Param(value="id") Integer id);
	List<Map<String,Object>> findtimeSliceById(@Param(value="tableName") String tableName,@Param(value="id") Integer id);
	SiteTraffic findTrafficById(Integer id);
	SiteFloor findFloorById(Integer id);
	SiteService findServiceById(Integer id);
}
